package edu.pku.sei.act.codegen.getinfor;

import edu.pku.sei.act.model.mote.Timer;
import edu.pku.sei.act.mote.myenum.YNEnum;

public class TimerForCode {
	
	public YNEnum timer;
	
	public TimerForCode(Timer timer){
		this.timer = timer.getTimer();
	}
	public boolean getTimer(){
		if(this.timer==YNEnum.Yes){
			return true;
		}
		return false;
	}

}
